<template>
  <div class="home">
    <Header />
    <div class="main-content">
      <Sidebar class="sidebar" />
      <div class="content">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import Header from '../components/common/Header.vue'
import Sidebar from '../components/common/Sidebar.vue'
</script>

<style scoped lang="scss">
.home {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.main-content {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.sidebar {
  width: 250px;
  background-color: #f5f5f5;
  border-right: 1px solid #e8e8e8;
}

.content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}
</style>